package com.csust.automaticteach.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 测试生成
 * @TableName t_generate_exam
 */
@TableName(value ="t_generate_exam")
@Data
public class GenerateExam implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 题目具体内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建用户 id
     */
    @TableField(value = "userId")
    private Long userId;

    /**
     * 课程大纲id
     */
    @TableField(value = "generateTeachId")
    private Long generateTeachId;

    /**
     * 参考材料
     */
    @TableField(value = "reference")
    private String reference;

    /**
     * 具体知识点
     */
    @TableField(value = "knowledgePoint")
    private String knowledgePoint;

    /**
     * 题目难度
     */
    @TableField(value = "difficultyLevel")
    private String difficultyLevel;
    /**
     * 状态（1草稿/2已发布/3下架/4等待中/5生成中/6失败
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}